﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Tesorera.Master" AutoEventWireup="true" CodeBehind="CrearPresupuesto.aspx.cs" Inherits="Interfaces.Presupuesto.CrearPresupuesto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 517px;
        }
        .style2
        {
            width: 86px;
        }
        .style3
        {
            width: 80px;
        }
        .style4
        {
            width: 43px;
        }
        .style5
        {
            width: 100px;
        }
        .style8
        {
            text-align: center;
        }
        .style9
        {
            width: 337px;
        }
        .style10
        {
            width: 366px;
        }
        .style11
        {
            width: 413px;
        }
        .style12
        {
            width: 336px;
            font-size: small;
            text-align: left;
        }
        .style13
        {
            width: 227px;
            text-align: center;
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
</asp:ScriptManagerProxy>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div class="style8">
            <asp:Panel ID="Panel3" runat="server" GroupingText="Crear presupuesto">
                <asp:Panel ID="Panel1" runat="server" GroupingText="Crear Gestion" 
                    style="text-align: center">
                    Ingrese la gestion:&nbsp;
                    <asp:TextBox ID="TextBox1" runat="server" MaxLength="4" 
                        ontextchanged="TextBox1_TextChanged" Width="118px"></asp:TextBox>
                    <ajaxToolkit:FilteredTextBoxExtender ID="TextBox1_FilteredTextBoxExtender" 
                        runat="server" Enabled="True" FilterType="Numbers" TargetControlID="TextBox1">
                    </ajaxToolkit:FilteredTextBoxExtender>
                    &nbsp;
                    <br />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                        style="height: 29px" CssClass=JCIstyle Text="Crear" />
                    <ajaxToolkit:ConfirmButtonExtender ID="Button1_ConfirmButtonExtender" 
                        runat="server" ConfirmText="Seguro que desea crear esta gestion?" 
                        Enabled="True" TargetControlID="Button1">
                    </ajaxToolkit:ConfirmButtonExtender>
                    <br />
                    <asp:Label ID="Label5" runat="server" ForeColor="Red"></asp:Label>
                    <br />
                    <asp:Panel ID="Panel2" runat="server" style="text-align: left" Visible="False">
                        <asp:Label ID="Label4" runat="server" ForeColor="Red" 
                            Text="*Esta gestion ya existe"></asp:Label>
                        <br />
                        <asp:Table ID="Table1" runat="server" BackColor="#3333FF" BorderColor="#3333CC" 
                            BorderStyle="Solid" CellPadding="2" CellSpacing="5" GridLines="Both" 
                            style="color: #FFFFFF" Width="494px">
                            <asp:TableRow runat="server">
                                <asp:TableCell runat="server">Gestion</asp:TableCell>
                                <asp:TableCell runat="server">Estado</asp:TableCell>
                                <asp:TableCell runat="server">Ver</asp:TableCell>
                                <asp:TableCell runat="server">Modificar</asp:TableCell>
                                <asp:TableCell runat="server">Cerrar Gestion</asp:TableCell>
                            </asp:TableRow>
                        </asp:Table>
                        <table class="style1">
                            <tr>
                                <td class="style13">
                                    <asp:Label ID="Label1" runat="server" Text="&lt;GESTION&gt;"></asp:Label>
                                    <asp:Label ID="Label2" runat="server" Text="GESTION"></asp:Label>
                                </td>
                                <td class="style9">
                                    <asp:Label ID="Label3" runat="server" Text="ESTADO"></asp:Label>
                                </td>
                                <td class="style10">
                                    <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Ver</asp:LinkButton>
                                </td>
                                <td class="style12">
                                    <asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click">Modificar</asp:LinkButton>
                                </td>
                                <td class="style11">
                                    &nbsp;&nbsp;
                                    <asp:LinkButton ID="LinkButton3" runat="server" onclick="LinkButton3_Click1">Cerrar Gestion</asp:LinkButton>
                                </td>
                            </tr>
                        </table>
                        <br />
                        <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" 
                            ConfirmText="Esta seguro que desea cerrar esta gestion? una vez cerrada  la gestion podra tener acceso al manejo de esta gestion" 
                            TargetControlID="LinkButton3">
                        </ajaxToolkit:ConfirmButtonExtender>
                    </asp:Panel>
                    <br />
                </asp:Panel>
            </asp:Panel>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
<br />
</asp:Content>
